<?php
namespace app\index\Controller;
use think\Controller;
use app\index\model\Banner as Ba;
use app\index\controller\commom;
class Banner extends Common
{
	public function index()
	{
		return view('list');
	}
	public function list()
	{
		$ba = new Ba();
		$list = $ba->list();
		return view("list",["list"=>$list]);
	}
}
?>